﻿@{
    Layout = "~/Views/Shared/_LayoutPageBaseEdit.cshtml";
}
<div class="box-body">
    <div class="col-md-12">
        <div class="form-group">
            <label class="col-sm-2 control-label">上级</label>
            <div class="col-sm-10">
                <div class="input-group">
                    <input type="text" name="ParentName" id="ParentName" class="form-control" data-pure-clear-button placeholder="上级" readonly="readonly">
                    <span id="menuBtn" class="input-group-addon pointer"><i class="fa fa-search"></i></span>
                </div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label m">名称</label>
            <div class="col-sm-10">
                <input type="text" name="Name" id="Name" data-pure-clear-button class="form-control" placeholder="名称">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label m">代码</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" value="@Context.Request.Query["id"]"  data-pure-clear-button id="DistrictId" name="DistrictId" placeholder="代码">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">简称</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" data-pure-clear-button id="ShortName" name="ShortName" placeholder="简称">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">等级</label>
            <div class="col-sm-10">
                <select id="LevelType" name="LevelType" class='form-control' eip-type="enum" eip-type-value="4" eip-type-needdefault="false" style='width:100%'></select>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">城市代码</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" data-pure-clear-button id="CityCode" name="CityCode" placeholder="城市代码">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">邮编</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" data-pure-clear-button id="ZipCode" name="ZipCode" placeholder="邮编">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">经度</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" data-pure-clear-button id="Lng" name="Lng" placeholder="经度">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">纬度</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" data-pure-clear-button id="Lat" name="Lat" placeholder="经度">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">拼音</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" data-pure-clear-button id="PinYin" name="PinYin" placeholder="代码">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">选项</label>
            <div class="col-sm-10">
                <input type="checkbox" class="minimal" name="IsFreeze" id="IsFreeze" /><label for="IsFreeze">冻结</label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label">排序号</label>
            <div class="col-sm-10">
                <input type="text" name="orderNo" class="form-control" data-pure-clear-button placeholder="排序号">
            </div>
        </div>
    </div>
</div>
<div class="dropdown-menu" id="content" style="display:none;">
    <div class="ip-control">
        <div class="box-tools">
            <div class="input-group" id="input-group" style="padding-left:5px">
                <input type="text" id="searchValueKey" class="form-control input-sm" placeholder="请输入关键字...">
                <div class="input-group-btn">
                    <a class="btn btn-sm btn-default" id="searchValue"><i class="fa fa-search"></i></a>
                </div>
            </div>
        </div>
    </div>
    <ul id="select-district-tree" class="ztree" style="margin-top:0; height: 223px; overflow: auto"></ul>
</div>
<input type="hidden" id="ParentId" name="ParentId" />
<script src="~/app/system/district/edit.js"></script>